<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
         <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            body {
                font-size:34px;
            }
        </style>
    </head>
    <body>
        <a href="#" id='open'>Toggle Form</a>
        <div id='form_div'>
            <form method="POST" action="formvalidation.php">
                Name:<input type='text' name='name'/>
                Password: <input type='text' name='password'/>
                <input type='submit' value='send' />
            </form>
            <br />
            <br />
            <div id='name'>Name:</div>
            <div id='age'>Age:</div>
            <div id='birthday'>Birthday</div>
        </div>
            <script type="text/javascript">
        $(document).ready(function(){
            $.get("jsontest.php", function(data){
                console.log(data);
            });
            var j = {"name" : "nir", "age" : 25, "birthday" : "11.12.1986"};
        });
    </script>
    </body>
</html>
